Summary(ru_RU.UTF-8): Настройка авторизации для МОСТЕХ
Summary:	MOSTECH mos-auth settings
Name:		mos-auth-mostech-settings
Version:	0.1
Release:	3
License:	GPLv3
Group:		System/Base
Url:		https://hub.mos.ru/mos/pkgs/%{name}
Source0:	README.md
Requires:	sddm
Requires:	mos-auth-core

%description
%{summary}.

%description -l ru_RU.UTF-8
Настройка параметров пакета авторизации mos-auth для МОСТЕХ

%files
%doc README.md
%config /usr/lib/mos-auth/mos-auth.conf.d/mostech.conf

#------------------------------------------------------------------

%prep
%setup -T -c
cp %sources .

%install
mkdir -p %{buildroot}/usr/lib/mos-auth/mos-auth.conf.d

cat > %{buildroot}/usr/lib/mos-auth/mos-auth.conf.d/mostech.conf << 'EOF'
[sddm]
guest-enabled=true
guest-home-tmpfs=true
mos-auth-btn-enabled=false

EOF
